# 计算机名、IP地址，
# $computers = "192.168.0.1", "192.168.0.2", "192.168.0.3", "192.168.0.100", "192.168.0.4"
# 他网关也可以侦测到
$computers = "192.168.0.10", "192.168.0.20", "192.168.0.30", "192.168.0.100", "192.168.0.40"
# Find the first available online server.
$computers.Where({ Test-Connection $_ }, 'SkipUntil', 1)